package teamRocketServer;

import java.util.ArrayList;

public class Game {
    
    public int anzPlayer;
    public ArrayList<String> hasplayer ;
    public String name;
    public CardSet cardSet;
    private boolean started = false;
    
    public Game(int anzPlayer,String name){
	this.anzPlayer = anzPlayer;
	this.name = name;
	this.cardSet = new CardSet();
    }
    
    public void setName(String name){
	if (this.started==false){
	    this.name = name;
	}
    }
    
    public void startGame(){
	this.started=true;
    }
    
    public String toString(){
	return "Player: "+ anzPlayer+" Gamename: " + name + " ";
    }
    
    public Card getCard(){
	return this.cardSet.getCard();
    }
    /**
     * @param args
     */
    public static void main(String[] args) {
    }
    
    
   
}
